import request from "../networks/request"

export const discussionAdd = (data) => {
    return request({
        url: '/discussion/add',
        method: 'post',
        data
    })
}

export const findDiscussion = (params) => {
    return request({
        url: '/discussion/find',
        method: 'get',
        params
    })
}